/**
 * Created by xukj on 2018/6/6.
 */
import React from 'react';
import { Provider } from 'react-redux';
import RootReducer from './reducers/index';
import { createStore } from 'redux';
import App from './containers/App';

const store = createStore(RootReducer);

const Root = () => (
  <Provider store={store}>
    <App />
  </Provider>
);

export default Root;